//
//  MainWindowController.h
//  SolarSimple
//
//  Created by Marcelo Alves on 13/10/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MuseekdController.h"

@interface MainWindowController : NSWindowController {
  IBOutlet MuseekdController *museekdController;
  IBOutlet id username;
  IBOutlet id password;
  IBOutlet id loginInformationSheet;
  IBOutlet id searchBox;
  IBOutlet id sidebarTree;
	NSArray *sidebarSortDescriptors;
  
}
@property (readonly) NSArray* sidebarSortDescriptors;
@property (readonly) id downloadView;
@property (readonly) id searchView;

-(IBAction) openPreferences:(id)sender;
-(IBAction) startMuseekd:(id)sender;
-(IBAction) stopMuseekd:(id)sender;
-(IBAction) createConfigFile:(id)sender;
-(IBAction) askForUsernameAndPassword:(id)sender;
-(IBAction) search:(id) sender;
-(IBAction) displaySearchResultsPane:(id) sender;
-(IBAction) changeView:sender;
@end
